package org.scirp.ijmis.service.personpaper;

import java.util.List;

import org.scirp.ijmis.po.personpaper.JournalOfPerson;

public interface IJournalOfPersonService {

	public List<JournalOfPerson> selectAll();

	public Long countObject();

	public JournalOfPerson selectById(Object id);

	public long saveJournalOfPerson(JournalOfPerson entity);

	public boolean updateJournalOfPerson(JournalOfPerson entity);

	public JournalOfPerson deleteJournalOfPerson(JournalOfPerson entity);
	public boolean updateJournalOfPerson(long journalId,List<JournalOfPerson> list,long roleId);
	public List<JournalOfPerson> selectJournalOfPersonByPersonId(Long personId);
	public boolean deleteJournalOfPersonByPersonId(long personId);
	public boolean deleteJournalOfPersonByJournalId(long journalId,long roleId);
	public List<JournalOfPerson> selectJournalOfPersonByJournalId(Long journalId);
}
